package com.ruoyi.find.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地铁线路对象 sys_subway
 * 
 * @author LiuWeiChen
 * @date 2025-09-12
 */
public class SysSubway extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地铁线路ID */
    private Long subwayId;

    /** 地铁线路名称 */
    @Excel(name = "地铁线路名称")
    private String subwayName;

    /** 所属城市 */
    @Excel(name = "所属城市")
    private Long regionId;

    /** 线路描述 */
    @Excel(name = "线路描述")
    private String description;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 更新人 */
    @Excel(name = "更新人")
    private Long updateUser;
    @TableField(exist = false)
    private String regionName;
    @TableField(exist = false)
    private String userName;

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setSubwayId(Long subwayId)
    {
        this.subwayId = subwayId;
    }

    public Long getSubwayId() 
    {
        return subwayId;
    }

    public void setSubwayName(String subwayName) 
    {
        this.subwayName = subwayName;
    }

    public String getSubwayName() 
    {
        return subwayName;
    }

    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }

    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subwayId", getSubwayId())
            .append("subwayName", getSubwayName())
            .append("regionId", getRegionId())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
                .append("regionName", getRegionName())
                .append("userName", getUserName())
            .toString();
    }
}
